﻿using System.Collections.Generic;

namespace Cut
{
    public class Cutter
    {
        public Material Material { get; set; }
        public List<Detail> Details { get; set; }

        public Cutter(Material material, List<Detail> details)
        {
            Material = material;
            Details = details;
            Material.CreateFillingMatrix(Details[Details.Count - 1]);
            Material.AddDetails(Details);
        }
    }
}
